package com.mecol.library.service.impl;

import com.mecol.library.dao.BookClassDao;
import com.mecol.library.entity.BookClass;
import com.mecol.library.service.BookClassService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BookClassServiceImpl implements BookClassService{

    @Autowired
    private BookClassDao bookClassDao;


    @Override
    public List<BookClass> getAllBookClasses() {
        return bookClassDao.getAllBookClasses();
    }
}